home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 February / maximum-cd-2012-02.iso / DiscContents / TheWagerSetup1.2.exe / Assets / Scripts / [1].lua next >
Encoding:
Text File  |  2011-11-10  |  632 b   |  17 lines

  1. -- Script [1]
  2. Starting = 1;
  3. SeaEvent = 0;
  4.  
  5. ShowStoryText("You come across a tribe of semi-friendly seeming natives, who promptly feed you with a surprisingly delicious broth and take you to see their leader. The chieftain is a placid but important-looking fellow, and a round of miming with his guards seems to indicate that he is expectant of some manner of gift. What do you do?");
  6.  
  7. if InInventory("{2}") then
  8.   AddChoice("Give him the Glimmering Necklace", "[2]");
  9. end
  10.  
  11. if PlayerCash >= 500 then
  12.   AddChoice("Give him 500 Pieces", "[3]");
  13. end
  14.  
  15. AddChoice("Try to Leave", "[4]");
  16. SetStartingEvent(ScriptID, false);
  17.